﻿using System.Windows.Forms;

namespace isolatedstorage
{
    public static class MBox
    {
        public static void Error(string message, string caption)
        {
            MessageBox.Show(message, caption, MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        public static void Error(string message)
        {
            Error(message, "Error");
        }

        public static void Info(string message, string caption)
        {
            MessageBox.Show(message, caption, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static void Info(string message)
        {
            Info(message, "Info");
        }
    }
}